package testit;

import money.Money;

import banking.BankImpl;
import gui.GUImain;
import interfaces.BankRegistry;

public class GUITest {

	/**
	 * @param args
	 */
	
	public static BankRegistry reg = new BankRegistry();
	
	public static void main(String[] args) throws Exception {
		Money money100 = new Money(100);
		reg.newBank("Sparkasse");
		BankImpl Sparkasse = BankRegistry.loockup("Sparkasse");
		Sparkasse.newDepositAccount(1001, "andy", 1, "de", "de");
		Sparkasse.addMoney(money100, "test1", 1001);
		
		GUImain guimainWindow = new GUImain();
		guimainWindow.setBounds(10, 10, 480, 400);
		guimainWindow.setVisible(true);
	}
	
	public static void accountStatement() throws Exception{
		//BankImpl Sparkasse = reg.loockup("Sparkasse");
		//Sparkasse.accountStatement(1001, "text/plain");
	}

}
